package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.yueyoga.admin.model.MemberClazz;

public interface MemberClazzService {
    public int deleteByPrimaryKey(Integer id);

    public int insert(MemberClazz record);

    public int insertSelective(MemberClazz record);

    public MemberClazz selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(MemberClazz record);

    public int updateByPrimaryKey(MemberClazz record);
    
    /**
     * 查看会员是否在该班级中
     * @param map 参数集合，包括会员编号和班级编号
     * @return MemberClazz集合
     * */
    public List<MemberClazz> findAllMemberInThisClazz(Map<String, Object> map);
}